package com.gonsin.gview.logic.model;

import lombok.Getter;

import java.lang.reflect.Method;

@Getter
public class ActionPo {

    /**
     * 注解对应的类
     */
    private Class actionService;

    /**
     * 注解标记的方法
     */
    private Method actionMethod;

    /**
     * 返回类型
     */
    private Class returnType;


    public ActionPo(Class actionService, Method actionMethod) {
        this.actionService = actionService;
        this.actionMethod = actionMethod;
        this.returnType = actionMethod.getReturnType();
    }
}
